const index = {
    namespaced: true,
    state: {
		mainProject: {},
        subProject: {},
		tower: [],
		target: {}
    },
    getters: {
		getSubProject(state) {
		    return state.subProject;
		},
		getTarget(state) {
		    return state.target;
		},
    },
    mutations: {
        setSubProject(state, params) {
            state.subProject = params;
        },
		setTarget(state, params) {
		    state.target = params;
		},
    },
    actions: {
        setSubProject({ commit }, params) {
            commit("setSubProject", params);
        },
		setTarget({ commit }, params) {
		    commit("setTarget", params);
		},
    }
};

export default index;
